<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends BaseController {
    public function index(){
    	$worker_id = session('worker_id');
    	$worker = M('worker')->where('worker_id='.$worker_id)->find();
    	$this->assign('worker',$worker);
        $this->display();
	}
}